﻿using System;

namespace NJabber.Client.StanzaFactories
{
    public class DefaultIdGenerator : IIdGenerator
    {
        private Random random = new Random(DateTime.Now.Millisecond);

        public object NewId()
        {
            return random.Next().ToString("x");
        }
    }
}
